on

abstract fun on(event: T)

Invoked when the event occurred.

Parameters

event

the details of the event